/**
 * 
 */
package de.tsvberssel.domain;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author starbuck
 *
 */
@XmlRootElement(name="answer")
public class Answer {

	private boolean rigth = false;
	
	private String text = null;

	/**
	 * @return the rigth
	 */
	@XmlAttribute(required=true)
	public boolean isRigth() {
		return rigth;
	}

	/**
	 * @param rigth the rigth to set
	 */
	public void setRigth(boolean rigth) {
		this.rigth = rigth;
	}

	/**
	 * @return the text
	 */
	@XmlAttribute(required=true)
	public String getText() {
		return text;
	}

	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}
	
	
	
}
